package org.BooCrack.bookstore.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "order_shipping")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderShipping {
    @Id
    @Column(name = "order_id")
    private String orderId;

    @Column(name = "receiver_name")
    private String receiverName;

    @Column(name = "receiver_phone")
    private String receiverPhone;

    @Column(name = "receiver_mobile")
    private String receiverMobile;

    @Column(name = "receiver_state")
    private String receiverState;

    @Column(name = "receiver_city")
    private String receiverCity;

    @Column(name = "receiver_district")
    private String receiverDistrict;

    @Column(name = "receiver_address")
    private String receiverAddress;

    @Column(name = "receiver_zip")
    private String receiverZip;

    @Column(name = "created")
    private Date created;

    @Column(name = "updated")
    private Date updated;


}